//
//  UserInfoModel.m
//  mendianjieke
//
//  Created by 响当当 on 8/7/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "UserInfoModel.h"

@implementation UserInfoModel
- (id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        self.totalPayCustomer = IFNULL(dic[@"totalPayCustomer"], [NSNumber new]);
        self.terminalState = IFNULL(dic[@"terminalState"],  [NSNumber new]);
        self.totalAmount = IFNULL(dic[@"totalAmount"], [NSNumber new]);
        self.totalDays = IFNULL(dic[@"totalDays"], [NSNumber new]);
        self.totalTime = IFNULL(dic[@"totalTime"], [NSNumber new]);
        self.totalCustomer = IFNULL(dic[@"totalCustomer"], [NSNumber new]);
        self.isFacialAuth = IFNULL(dic[@"isFacialAuth"], [NSNumber new]);
        self.userName = IFNULL(dic[@"userName"], @"");
        self.shopName = IFNULL(dic[@"shopName"], @"");

    }
    return self;
}
@end
